<?php

/* Add default options on activation */
if(get_option($shortname.'_general_settings') == false) {

	// with activate istall option
	if ( is_admin() && isset($_GET['activated'] ) && $pagenow == 'themes.php' ) {
	
		$options_slider = array(
		
			"fading_slider_count" => 5,
		
			"fading_slider_url_0" => WEBTREATS_IMAGES . "/sliders/default_floating_slide.jpg",
			"fading_slider_link_0" => "",
			"fading_slider_title_0" => "",
			"fading_slider_stage_0" => "staged_slide",
			"fading_slider_desc_0" => "",
		
			"fading_slider_url_1" => WEBTREATS_IMAGES . "/sliders/default_partial_staged_slide.jpg",
			"fading_slider_link_1" => "",
			"fading_slider_title_1" => "Partial Staged Effect",
			"fading_slider_stage_1" => "partial_staged_slide",
			"fading_slider_desc_1" => "To easily create this slide effect simply choose 'Partial Staged' in the homepage slider settings and your image will be cropped and framed for you. ",
		
			"fading_slider_url_2" => WEBTREATS_IMAGES . "/sliders/default_partial_gradient_slide.jpg",
			"fading_slider_link_2" => "",
			"fading_slider_title_2" => "Partial Gradient Effect",
			"fading_slider_stage_2" => "partial_gradient_slide",
			"fading_slider_desc_2" => "To easily create this slide effect simply choose 'Partial Gradient' in the homepage slider settings and your image will be cropped and framed for you. ",
		
			"fading_slider_url_3" => WEBTREATS_IMAGES . "/sliders/default_floating_slide.jpg",
			"fading_slider_link_3" => "",
			"fading_slider_title_3" => "",
			"fading_slider_stage_3" => "floating_slide",
			"fading_slider_desc_3" => "",
		
			"fading_slider_url_4" => WEBTREATS_IMAGES . "/sliders/default_full_slide.jpg",
			"fading_slider_link_4" => "",
			"fading_slider_title_4" => "",
			"fading_slider_stage_4" => "full_slide",
			"fading_slider_desc_4" => "",
		
		
			"tabbed_slider_count" => 5,
		
			"tabbed_slider_url_0" => WEBTREATS_IMAGES . "/sliders/default_floating_slide.jpg",
			"tabbed_slider_link_0" => "",
			"tabbed_slider_title_0" => "",
			"tabbed_slider_stage_0" => "staged_slide",
			"tabbed_slider_desc_0" => "",
		
			"tabbed_slider_url_1" => WEBTREATS_IMAGES . "/sliders/default_partial_staged_slide.jpg",
			"tabbed_slider_link_1" => "",
			"tabbed_slider_title_1" => "Partial Staged Effect",
			"tabbed_slider_stage_1" => "partial_staged_slide",
			"tabbed_slider_desc_1" => "To easily create this slide effect simply choose 'Partial Staged' in the homepage slider settings and your image will be cropped and framed for you. ",
		
			"tabbed_slider_url_2" => WEBTREATS_IMAGES . "/sliders/default_partial_gradient_slide.jpg",
			"tabbed_slider_link_2" => "",
			"tabbed_slider_title_2" => "Partial Gradient Effect",
			"tabbed_slider_stage_2" => "partial_gradient_slide",
			"tabbed_slider_desc_2" => "To easily create this slide effect simply choose 'Partial Gradient' in the homepage slider settings and your image will be cropped and framed for you. ",
		
			"tabbed_slider_url_3" => WEBTREATS_IMAGES . "/sliders/default_floating_slide.jpg",
			"tabbed_slider_link_3" => "",
			"tabbed_slider_title_3" => "",
			"tabbed_slider_stage_3" => "floating_slide",
			"tabbed_slider_desc_3" => "",
		
			"tabbed_slider_url_4" => WEBTREATS_IMAGES . "/sliders/default_full_slide.jpg",
			"tabbed_slider_link_4" => "",
			"tabbed_slider_title_4" => "",
			"tabbed_slider_stage_4" => "full_slide",
			"tabbed_slider_desc_4" => "",
		
			);
		
		
			$options_array = array(
						
				"homepage_teaser_text" => "The ultimate all-in-one template. With over 30 unique style variations to choose from your website has never looked better.",
			
				"content" => "[one_fourth]\r\r[frame_center alt=\"Simpler than ever\" title=\"\"]" .WEBTREATS_IMAGES. "/checkmarks.png[/frame_center]\r<h4>Simpler than ever.</h4>\r[teaser]Need an image gallery or slideshow on every page? Want to embed a widget into a page? You can do all this and more using simple content shortcodes.[/teaser]\r[fancy_link link=\"#\" variation=\"\"]Learn More[/fancy_link]\r\r[/one_fourth]\r\r[one_fourth]\r\r[frame_center alt=\"Your content your way\" title=\"\"]" .WEBTREATS_IMAGES. "/people.png[/frame_center]\r<h4>Your content your way.</h4>\r[teaser]With awake it's never been easier to lay out your content using pre-defined column layout shortcodes. Formatting your content just got a lot easier.[/teaser]\r[fancy_link link=\"#\" variation=\"\"]Learn More[/fancy_link]\r\r[/one_fourth]\r\r[one_fourth]\r\r[frame_center alt=\"Websites made easy\" title=\"\"]" .WEBTREATS_IMAGES. "/gears.png[/frame_center]\r<h4>Websites made easy.</h4>\r[teaser]Customize your website with an intuitive easy to use admin panel which gives you full control over every major design element throughout your theme.[/teaser]\r[fancy_link link=\"#\" variation=\"\"]Learn More[/fancy_link]\r\r[/one_fourth]\r\r[one_fourth_last]\r\r[frame_center alt=\"Built to impress\" title=\"\"]" .WEBTREATS_IMAGES. "/monitors.png[/frame_center]\r<h4>Built to impress.</h4>\r[teaser]With over 30 style variations to choose from you'll be able to find just the right design variation to fit your needs. Your website has never looked better.[/teaser]\r[fancy_link link=\"#\" variation=\"\"]Learn More[/fancy_link]\r\r[/one_fourth_last]",
				
				"linkedin_sociable_disable" => "true",
				"myspace_sociable_disable" => "true",
				"delicious_sociable_disable" => "true",
			
				"footer_teaser_text" => "Lorem ipsum dolor sit amet consectetur adipiscing elit nullam diam orci vestibulum vel tincidun",
				"footer_text" => "<a href=\"http://webtreats.mysitemyway.com/\">&copy; 2009 WebTreats ETC. All Rights Reserved</a>",

				);
	

		$activate_sidbar_1 = '<ul class="thumbnail_list">
			<li>
			<a title="Aenean Tempor Nisi Odio Metus" href="#" class="alignleft">
			<span class="small_frame"><img width="60" height="60" alt="Aenean Tempor Nisi Odio Metus" src="' .WEBTREATS_IMAGES. '/default_post_thumb_small.png" class="fade_hover" /></span></a>
			<a rel="bookmark" href="#" class="thumbnail_title">Aenean Tempor Nisi Odio Metus</a><br />
			<a href="#" class="date">01-01-2012</a>
			<div class="clearboth"></div>
			</li>

			<li>
			<a title="Maecenas sit Amet Nibh Nullam Odio" href="#" class="alignleft">
			<span class="small_frame"><img width="60" height="60" alt="Maecenas sit Amet Nibh Nullam Odio" src="' .WEBTREATS_IMAGES. '/default_post_thumb_small.png" class="fade_hover" /></span></a>
			<a rel="bookmark" href="h#" class="thumbnail_title">Maecenas sit Amet Nibh Nullam Odio</a><br />
			<a href="#" class="date">01-01-2012</a>
			<div class="clearboth"></div>
			</li>

			<li>
			<a title="Praesent Egestas Magna a Amet" href="#" class="alignleft">
			<span class="small_frame"><img width="60" height="60" alt="Praesent Egestas Magna a Amet" src="' .WEBTREATS_IMAGES. '/default_post_thumb_small.png" class="fade_hover" /></span></a>
			<a rel="bookmark" href="" class="thumbnail_title">Praesent Egestas Magna a Amet</a><br />
			<a href="#" class="date">01-01-2012</a>
			<div class="clearboth"></div>
			</li>

		</ul>';
	
	
		$activate_footer_1 = '<ul>
			<li><a href="http://themes.mysitemyway.com/awake/features/layouts/">Layout Options</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/features/admin-panel-options/">Admin Panel</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/features/intro-blurb-options/">Intro Blurb Options</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/features/skins-color-variations/">Skins &amp; Color Variations </a></li>
			<li><a href="http://themes.mysitemyway.com/awake/features/typography/">Typography</a></li>
		</ul>';
	
		$activate_footer_2 = '<ul>
			<li><a href="http://themes.mysitemyway.com/awake/galleries/portfolio-1-column/">Portfolio 1 Column</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/galleries/portfolio-1/">Portfolio 2 Columns</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/galleries/portfolio-2/">Portfolio 3 Columns</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/galleries/portfolio-4-columns/">Portfolio 4 Columns</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/galleries/galleria-shortcode-gallery/">Galleria Shortcodes</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/galleries/multiple-galleries/">Image Shortcodes</a></li>
		</ul>';
	
		$activate_footer_3 = '<ul>
			<li><a href="http://themes.mysitemyway.com/awake/pages/about-us/">About Us</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/pages/testimonials/">Testimonials</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/pages/services/">Services</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/contact/">Contact Us</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/pages/feature-lists/">Feature Lists</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/pages/pricing/">Pricing</a></li>
		</ul>';
	
		$activate_footer_4 = '<ul>
			<li><a href="http://themes.mysitemyway.com/awake/documentation/online-documentation/">Online Documentation</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/documentation/faqs/">FAQ’s</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/documentation/faqs/getting-started/">Getting Started</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/documentation/changelog/">Changelog</a></li>
		</ul>';
	
		$activate_footer_5 = '<ul>
			<li><a href="http://themes.mysitemyway.com/awake/shortcodes/style-shortcodes/">Style Shortcodes</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/shortcodes/column-shortcodes/">Column Shortcodes</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/shortcodes/galleries-image-shortcodes/">Gallery &amp; Image Shortcodes</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/shortcodes/jquery-tabs-toggles/">jQuery Tabs &amp; Toggles</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/shortcodes/widget-shortcodes/">Widget Shortcodes</a></li>
		</ul>';	
	
		$activate_footer_6 = '<ul>
			<li><a href="http://themes.mysitemyway.com/awake/features/layouts/right-sidebar/">Right Sidebar</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/features/layouts/left-sidebar/">Left Sidebar</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/features/layouts/full-width/">Full Width</a></li>
			<li><a href="http://themes.mysitemyway.com/awake/features/layouts/column-layouts/">Column Layouts</a></li>
		</ul>';
	
	
	
		update_option( $shortname.'_general_settings', $options_array);
		update_option( $shortname.'_slider_settings', $options_slider);
		update_option( 'show_on_front', 'posts' );
		add_action('init', 'pagenavi_init');
	
	
		// Setup some instances of the default widgets:
		update_option( 'widget_text', array( 
			2 => array( 'title' => 'Example Widget', 'text' => $activate_sidbar_1 ),
			3 => array( 'title' => 'Features', 'text' => $activate_footer_1 ),
			4 => array( 'title' => 'Galleries', 'text' => $activate_footer_2 ),
			5 => array( 'title' => 'Demo Content', 'text' => $activate_footer_3 ),
			6 => array( 'title' => 'Documentation', 'text' => $activate_footer_4 ),
			7 => array( 'title' => 'Shortcodes', 'text' => $activate_footer_5 ),
			8 => array( 'title' => 'Layouts', 'text' => $activate_footer_6 ),
		
			'_multiwidget' => 6 ) );


		// Update the sidebars with those widgets
		update_option( 'sidebars_widgets', array(
			'sidebar-1' => array(
				'text-2',
			),
			'sidebar-3' => array(
				'text-3',
			),
			'sidebar-4' => array(
				'text-4',
			),
			'sidebar-5' => array(
				'text-5',
			),
			'sidebar-6' => array(
				'text-6',
			),
			'sidebar-7' => array(
				'text-7',
			),
			'sidebar-8' => array(
				'text-8',
			),
		
			'wp_inactive_widgets' => array(),
		));
	
	}

}


?>